package com.sgzn.sgpay.enums;

/**
 * sgpay-web 响应码
 * @author zhongzhongyong
 * @version Id: SgwResponseCode.java, v 0.1 2018/4/3 23:27 zhongzhongyong Exp $$
 */
public enum SgwResponseCode {

    C_PARAM_VALIDATE_ERR("000001", "参数校验异常"),
    C_SYSTEM_ERROR("000002", "系统错误");

    private final String code;
    private final String desc;

    SgwResponseCode(String responseCode, String responseDesc) {
        this.code = responseCode;
        this.desc = responseDesc;
    }

    public String getResponseCode() {
        return code;
    }

    public String getResponseDesc() {
        return desc;
    }
}
